package com.qiwenshare.file.vo;


import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 文件操作历史表(UserfileHistory)表实体类
 *
 * @author makejava
 * @since 2023-09-23 20:58:36
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserFileHistoryVo{
    //id
    private String historyId;
    private String parentHistoryId;
    //文件id
    private String userFileId;
    //操作类型(1：上传文件 2：创建文件夹 3：修改文件名 4：修改文件 5：删除文件 6：删除文件夹)
    private Integer operationType;
    private String operationContent;
    //是否是目录(0-否,1-是)
    private Integer isDir;
    //创建时间
    private String createTime;
    //创建用户id
    private String createUserId;
    private String createUser;
    private String filePath;
    private String fileName;
    private String extendName;

    private String newFileId;
    private String oldFileId;
    private String newFileName;
    private String oldFileName;
    private List<UserFileHistoryVo> children;
}

